package com.centanet.framework.model;

/**
 * 上传模型
 */
public class UploadModel<T> {

    private final boolean success;//上传成功
    private final T t;
    private final String path;//图片路径

    public UploadModel(boolean success, T t, String path) {
        this.success = success;
        this.t = t;
        this.path = path;
    }

    public boolean isSuccess() {
        return success;
    }

    public T getResponse() {
        return t;
    }

    public String getPath() {
        return path;
    }
}
